package com.yc.order.biz;

import com.yc.order.dao.OrderitemVODao;
import com.yc.vo.OrderitemVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderitemVOBizImpl implements OrderitemVOBiz{
    @Autowired
    private OrderitemVODao orderitemVODao;
    /**
     * 根据ono查订单号对应订单详情
     * @param ono
     * @return
     */
    @Override
    public List<OrderitemVO> findByOno(String ono) {
        List<OrderitemVO> byono = orderitemVODao.findByono(ono);
        return byono;
    }
}
